package com.xingda.packing.dmss.minitor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xingda.packing.dmss.minitor.entity.PkTask;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author anxiaoning
 * @since 2021-07-03
 */
@Mapper
public interface PkTaskMapper extends BaseMapper<PkTask> {

	List<PkTask> getPkTaskByStateAndBoxLocationNo(@Param("boxLocationNo") Integer boxLocationNo,@Param("state") Integer state);

	List<PkTask> getPkTaskListByLocationIds(@Param("ids") List<Integer> ids);

	List<Map<String, Object>> getPkTaskListByIds(@Param("ids") List<Integer> ids);
}
